import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import FriedSurvey from '../components/HelloWorld.vue'
import RockwoodSurvey from '../components/RockwoodSurvey.vue'
import GPMSurvey from '../components/GPMSurvey.vue'
import NRSSurvey from '../components/NRSSurvey.vue'
import PSQISurvey from '../components/PSQISurvey.vue'
import HAMDSurvey from '../components/HAMDSurvey.vue'
import OralSurvey from '../components/OralSurvey.vue'
import OHIP14Survey from '../components/OHIP14Survey.vue'
import PersonalInfoSurvey from '../components/PersonalInfoSurvey.vue'
import CognitiveSurvey from '../components/CognitiveSurvey.vue'
import PersonalitySurvey from '../components/PersonalitySurvey.vue'
import OutdoorActivitySurvey from '../components/OutdoorActivitySurvey.vue'
import LeisureActivitySurvey from '../components/LeisureActivitySurvey.vue'


const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/fried',
    name: 'FriedSurvey',
    component: FriedSurvey
  },
  {
    path: '/rockwood',
    name: 'RockwoodSurvey',
    component: RockwoodSurvey
  },
  {
    path: '/gpm',
    name: 'GPMSurvey',
    component: GPMSurvey
  },
  {
    path: '/nrs',
    name: 'NRSSurvey',
    component: NRSSurvey
  },
  {
    path: '/psqi',
    name: 'PSQISurvey',
    component: PSQISurvey
  },
  {
    path: '/hamd',
    name: 'HAMDSurvey',
    component: HAMDSurvey
  },
  {
    path: '/oral',
    name: 'OralSurvey',
    component: OralSurvey
  },
  {
    path: '/ohip14',
    name: 'OHIP14Survey',
    component: OHIP14Survey
  },
  {
    path: '/personal-info',
    name: 'PersonalInfoSurvey',
    component: PersonalInfoSurvey
  },
  {
    path: '/cognitive',
    name: 'CognitiveSurvey',
    component: CognitiveSurvey
  },
  {
    path: '/personality',
    name: 'PersonalitySurvey',
    component: PersonalitySurvey
  },
  {
    path: '/outdoor-activity',
    name: 'OutdoorActivitySurvey',
    component: OutdoorActivitySurvey
  },
  {
    path: '/leisure-activity',
    name: 'LeisureActivitySurvey',
    component: LeisureActivitySurvey
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router